import DGSecurity from "./framework/DGSecurity/DGSecurity.tsx";
import DGAccount from "./framework/DGAccount/DGAccount.tsx";
import DGSecurityOperates from "./framework/DGSecurity/views/DGSecurityOperates.tsx";
import DGMoney from "./framework/DGMoney/DGMoney.tsx";
import DGSettings from "./framework/DGSettings.tsx";
import DGFeedback from "./framework/DGFeedback.tsx";
import DGAgree1 from "./framework/DGAgree1.tsx";
import DGAgree2 from "./framework/DGAgree2.tsx";
import DGAbout from "./framework/DGAbout.tsx";
import DGSecurityIndex from "./framework/DGSecurity/views/DGSecurityIndex.tsx";
import DGSecuritySelfForm from "./framework/DGSecurity/views/DGSecuritySelfForm.tsx";
import DGSecurityOnlineForm from "./framework/DGSecurity/views/DGSecurityOnlineForm.tsx";
import DGSecurityInfo from "./framework/DGSecurity/views/DGSecurityInfo.tsx";

// 核心页面
export const LauncherRouteCore = [
    // 设置选项
    {path: "settings", element: <DGSettings/>},
    // 我的账户
    {path: "account", element: <DGAccount/>},
    // 我的钱包
    {path: "money", element: <DGMoney/>},
    // 安全中心
    {
        path: "security", element: <DGSecurity/>, children: [
            // 安全中心
            {index: true, element: <DGSecurityIndex/>},
            // 操作记录
            {path: "options", element: <DGSecurityOperates/>},
            // 安全信息
            {path: "info", element: <DGSecurityInfo/>},
            // 自助表单
            {path: "selfTable", element: <DGSecuritySelfForm/>},
            // 在线表单
            {path: "onlineTable", element: <DGSecurityOnlineForm/>},
        ]
    },
    // 意见反馈
    {path: "feedback", element: <DGFeedback/>},
    // 用户协议
    {path: "agree1", element: <DGAgree1/>},
    // 隐私政策
    {path: "agree2", element: <DGAgree2/>},
    // 关于我们
    {path: "about", element: <DGAbout/>},
];